package cn.edu.sdjzu.xg.eagle.util;

/**
 * @author tg.si@188.com
 * @todo
 * @since 2025/3/26 13:50
 */

import lombok.*;
@Setter
@Getter
@AllArgsConstructor
@NoArgsConstructor
@ToString
public class Pagination {
    //每页的对象(元组)数
    private int pageSize = 5;
    //页号
    private int pageNo = 1;
    //对象(元组)总数
    private int totalNum = 1;

    public static void main(String[] args) {
        Pagination p1 = new Pagination(5,2,1);
        System.out.println(p1);
        new Pagination();
    }
}
